using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Input;
using WPFExcelReport.Helpers;
using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Input;
using WPFExcelReport.Helpers;
using INTEX.DataBase;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
namespace WPFExcelReport
{
    public partial class VK03
    {

        public VK03()
        {

            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            DataContext = new VVK03();
            InitializeComponent();
        }

    }
    public partial class VVK03: ViewModelBase
    {
        public VVK03()
        {
            switch (app.company)
            {
                default:
                case "YGR":
                case "YCC":
                case "TST":
                    SetEnv = new YGRDB();
                    SetData = new YGRDB();
                    SetProd = new YGRDB();
                    break;
                case "JLT":
                    SetEnv = new JLTDB();
                    SetData = new JLTDB();
                    SetProd = new JLTDB();
                    break;
            }
            TableName = "VKPOS";
        }
        #region=Property========
        //-----Property---
         public string AUSTXT1 { get { if (dwMaster == null) return ""; return dwMaster["AUSTXT1"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUSTXT1"] = value; OnPropertyChanged("AUSTXT1", value); } }
 public string AUSTXT2 { get { if (dwMaster == null) return ""; return dwMaster["AUSTXT2"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUSTXT2"] = value; OnPropertyChanged("AUSTXT2", value); } }
 public string ERL { get { if (dwMaster == null) return ""; return dwMaster["ERL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ERL"] = value; OnPropertyChanged("ERL", value); } }
 public string TBU { get { if (dwMaster == null) return ""; return dwMaster["TBU"].ToString(); } set { if (dwMaster == null) return; dwMaster["TBU"] = value; OnPropertyChanged("TBU", value); } }
 public string VM { get { if (dwMaster == null) return ""; return dwMaster["VM"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM"] = value; OnPropertyChanged("VM", value); } }
 public string POS { get { if (dwMaster == null) return ""; return dwMaster["POS"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS"] = value; OnPropertyChanged("POS", value); } }
 public string VM_1 { get { if (dwMaster == null) return ""; return dwMaster["VM_1"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_1"] = value; OnPropertyChanged("VM_1", value); } }
 public string POS_1 { get { if (dwMaster == null) return ""; return dwMaster["POS_1"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_1"] = value; OnPropertyChanged("POS_1", value); } }
 public string VM_2 { get { if (dwMaster == null) return ""; return dwMaster["VM_2"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_2"] = value; OnPropertyChanged("VM_2", value); } }
 public string POS_2 { get { if (dwMaster == null) return ""; return dwMaster["POS_2"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_2"] = value; OnPropertyChanged("POS_2", value); } }
 public string VM_3 { get { if (dwMaster == null) return ""; return dwMaster["VM_3"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_3"] = value; OnPropertyChanged("VM_3", value); } }
 public string POS_3 { get { if (dwMaster == null) return ""; return dwMaster["POS_3"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_3"] = value; OnPropertyChanged("POS_3", value); } }
 public string VM_4 { get { if (dwMaster == null) return ""; return dwMaster["VM_4"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_4"] = value; OnPropertyChanged("VM_4", value); } }
 public string POS_4 { get { if (dwMaster == null) return ""; return dwMaster["POS_4"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_4"] = value; OnPropertyChanged("POS_4", value); } }
 public string VM_5 { get { if (dwMaster == null) return ""; return dwMaster["VM_5"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_5"] = value; OnPropertyChanged("VM_5", value); } }
 public string POS_5 { get { if (dwMaster == null) return ""; return dwMaster["POS_5"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_5"] = value; OnPropertyChanged("POS_5", value); } }
 public string VM_6 { get { if (dwMaster == null) return ""; return dwMaster["VM_6"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_6"] = value; OnPropertyChanged("VM_6", value); } }
 public string POS_6 { get { if (dwMaster == null) return ""; return dwMaster["POS_6"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_6"] = value; OnPropertyChanged("POS_6", value); } }
 public string VM_7 { get { if (dwMaster == null) return ""; return dwMaster["VM_7"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_7"] = value; OnPropertyChanged("VM_7", value); } }
 public string POS_7 { get { if (dwMaster == null) return ""; return dwMaster["POS_7"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_7"] = value; OnPropertyChanged("POS_7", value); } }
 public string VM_8 { get { if (dwMaster == null) return ""; return dwMaster["VM_8"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_8"] = value; OnPropertyChanged("VM_8", value); } }
 public string POS_8 { get { if (dwMaster == null) return ""; return dwMaster["POS_8"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_8"] = value; OnPropertyChanged("POS_8", value); } }
 public string VM_9 { get { if (dwMaster == null) return ""; return dwMaster["VM_9"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_9"] = value; OnPropertyChanged("VM_9", value); } }
 public string POS_9 { get { if (dwMaster == null) return ""; return dwMaster["POS_9"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_9"] = value; OnPropertyChanged("POS_9", value); } }
 public string VM_10 { get { if (dwMaster == null) return ""; return dwMaster["VM_10"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_10"] = value; OnPropertyChanged("VM_10", value); } }
 public string POS_10 { get { if (dwMaster == null) return ""; return dwMaster["POS_10"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_10"] = value; OnPropertyChanged("POS_10", value); } }
 public string VM_11 { get { if (dwMaster == null) return ""; return dwMaster["VM_11"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_11"] = value; OnPropertyChanged("VM_11", value); } }
 public string POS_11 { get { if (dwMaster == null) return ""; return dwMaster["POS_11"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_11"] = value; OnPropertyChanged("POS_11", value); } }
 public string VM_12 { get { if (dwMaster == null) return ""; return dwMaster["VM_12"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_12"] = value; OnPropertyChanged("VM_12", value); } }
 public string POS_12 { get { if (dwMaster == null) return ""; return dwMaster["POS_12"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_12"] = value; OnPropertyChanged("POS_12", value); } }
 public string VM_13 { get { if (dwMaster == null) return ""; return dwMaster["VM_13"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_13"] = value; OnPropertyChanged("VM_13", value); } }
 public string POS_13 { get { if (dwMaster == null) return ""; return dwMaster["POS_13"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_13"] = value; OnPropertyChanged("POS_13", value); } }
 public string VM_14 { get { if (dwMaster == null) return ""; return dwMaster["VM_14"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_14"] = value; OnPropertyChanged("VM_14", value); } }
 public string POS_14 { get { if (dwMaster == null) return ""; return dwMaster["POS_14"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_14"] = value; OnPropertyChanged("POS_14", value); } }
 public string VM_15 { get { if (dwMaster == null) return ""; return dwMaster["VM_15"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_15"] = value; OnPropertyChanged("VM_15", value); } }
 public string POS_15 { get { if (dwMaster == null) return ""; return dwMaster["POS_15"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_15"] = value; OnPropertyChanged("POS_15", value); } }
 public string VM_16 { get { if (dwMaster == null) return ""; return dwMaster["VM_16"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_16"] = value; OnPropertyChanged("VM_16", value); } }
 public string POS_16 { get { if (dwMaster == null) return ""; return dwMaster["POS_16"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_16"] = value; OnPropertyChanged("POS_16", value); } }
 public string VM_17 { get { if (dwMaster == null) return ""; return dwMaster["VM_17"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_17"] = value; OnPropertyChanged("VM_17", value); } }
 public string POS_17 { get { if (dwMaster == null) return ""; return dwMaster["POS_17"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_17"] = value; OnPropertyChanged("POS_17", value); } }
 public string VM_18 { get { if (dwMaster == null) return ""; return dwMaster["VM_18"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_18"] = value; OnPropertyChanged("VM_18", value); } }
 public string POS_18 { get { if (dwMaster == null) return ""; return dwMaster["POS_18"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_18"] = value; OnPropertyChanged("POS_18", value); } }
 public string VM_19 { get { if (dwMaster == null) return ""; return dwMaster["VM_19"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_19"] = value; OnPropertyChanged("VM_19", value); } }
 public string POS_19 { get { if (dwMaster == null) return ""; return dwMaster["POS_19"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_19"] = value; OnPropertyChanged("POS_19", value); } }
 public string VM_20 { get { if (dwMaster == null) return ""; return dwMaster["VM_20"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_20"] = value; OnPropertyChanged("VM_20", value); } }
 public string POS_20 { get { if (dwMaster == null) return ""; return dwMaster["POS_20"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_20"] = value; OnPropertyChanged("POS_20", value); } }
 public string VM_21 { get { if (dwMaster == null) return ""; return dwMaster["VM_21"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_21"] = value; OnPropertyChanged("VM_21", value); } }
 public string POS_21 { get { if (dwMaster == null) return ""; return dwMaster["POS_21"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_21"] = value; OnPropertyChanged("POS_21", value); } }
 public string VM_22 { get { if (dwMaster == null) return ""; return dwMaster["VM_22"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_22"] = value; OnPropertyChanged("VM_22", value); } }
 public string POS_22 { get { if (dwMaster == null) return ""; return dwMaster["POS_22"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_22"] = value; OnPropertyChanged("POS_22", value); } }
 public string VM_23 { get { if (dwMaster == null) return ""; return dwMaster["VM_23"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_23"] = value; OnPropertyChanged("VM_23", value); } }
 public string POS_23 { get { if (dwMaster == null) return ""; return dwMaster["POS_23"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_23"] = value; OnPropertyChanged("POS_23", value); } }
 public string VM_24 { get { if (dwMaster == null) return ""; return dwMaster["VM_24"].ToString(); } set { if (dwMaster == null) return; dwMaster["VM_24"] = value; OnPropertyChanged("VM_24", value); } }
 public string POS_24 { get { if (dwMaster == null) return ""; return dwMaster["POS_24"].ToString(); } set { if (dwMaster == null) return; dwMaster["POS_24"] = value; OnPropertyChanged("POS_24", value); } }

        #endregion
    }
}
